Optimal. Leaf size=191 \[ \frac {2 x^2 \sqrt {1-a^2 x^2}}{5 a \text {ArcCos}(a x)^{5/2}}-\frac {8 x}{15 a^2 \text {ArcCos}(a x)^{3/2}}+\frac {4 x^3}{5 \text {ArcCos}(a x)^{3/2}}+\frac {16 \sqrt {1-a^2 x^2}}{15 a^3 \sqrt {\text {ArcCos}(a x)}}-\frac {24 x^2 \sqrt {1-a^2 x^2}}{5 a \sqrt {\text {ArcCos}(a x)}}+\frac {2 \sqrt {2 \pi } \text {FresnelC}\left (\sqrt {\frac {2}{\pi }} \sqrt {\text {ArcCos}(a x)}\right )}{15 a^3}+\frac {6 \sqrt {6 \pi } \text {FresnelC}\left (\sqrt {\frac {6}{\pi }} \sqrt {\text {ArcCos}(a x)}\right )}{5 a^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.24, antiderivative size = 191, normalized size of antiderivative = 1.00, number of steps
used = 13, number of rules used = 7, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.583, Rules used = {4730, 4808,
4728, 3385, 3433, 4718, 4810} \begin {gather*} \frac {2 \sqrt {2 \pi } \text {FresnelC}\left (\sqrt {\frac {2}{\pi }} \sqrt {\text {ArcCos}(a x)}\right )}{15 a^3}+\frac {6 \sqrt {6 \pi } \text {FresnelC}\left (\sqrt {\frac {6}{\pi }} \sqrt {\text {ArcCos}(a x)}\right )}{5 a^3}-\frac {24 x^2 \sqrt {1-a^2 x^2}}{5 a \sqrt {\text {ArcCos}(a x)}}+\frac {2 x^2 \sqrt {1-a^2 x^2}}{5 a \text {ArcCos}(a x)^{5/2}}-\frac {8 x}{15 a^2 \text {ArcCos}(a x)^{3/2}}+\frac {16 \sqrt {1-a^2 x^2}}{15 a^3 \sqrt {\text {ArcCos}(a x)}}+\frac {4 x^3}{5 \text {ArcCos}(a x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3385
Rule 3433
Rule 4718
Rule 4728
Rule 4730
Rule 4808
Rule 4810
Rubi steps
\begin {align*} \int \frac {x^2}{\cos ^{-1}(a x)^{7/2}} \, dx &=\frac {2 x^2 \sqrt {1-a^2 x^2}}{5 a \cos ^{-1}(a x)^{5/2}}-\frac {4 \int \frac {x}{\sqrt {1-a^2 x^2} \cos ^{-1}(a x)^{5/2}} \, dx}{5 a}+\frac {1}{5} (6 a) \int \frac {x^3}{\sqrt {1-a^2 x^2} \cos ^{-1}(a x)^{5/2}} \, dx\\ &=\frac {2 x^2 \sqrt {1-a^2 x^2}}{5 a \cos ^{-1}(a x)^{5/2}}-\frac {8 x}{15 a^2 \cos ^{-1}(a x)^{3/2}}+\frac {4 x^3}{5 \cos ^{-1}(a x)^{3/2}}-\frac {12}{5} \int \frac {x^2}{\cos ^{-1}(a x)^{3/2}} \, dx+\frac {8 \int \frac {1}{\cos ^{-1}(a x)^{3/2}} \, dx}{15 a^2}\\ &=\frac {2 x^2 \sqrt {1-a^2 x^2}}{5 a \cos ^{-1}(a x)^{5/2}}-\frac {8 x}{15 a^2 \cos ^{-1}(a x)^{3/2}}+\frac {4 x^3}{5 \cos ^{-1}(a x)^{3/2}}+\frac {16 \sqrt {1-a^2 x^2}}{15 a^3 \sqrt {\cos ^{-1}(a x)}}-\frac {24 x^2 \sqrt {1-a^2 x^2}}{5 a \sqrt {\cos ^{-1}(a x)}}-\frac {24 \text {Subst}\left (\int \left (-\frac {\cos (x)}{4 \sqrt {x}}-\frac {3 \cos (3 x)}{4 \sqrt {x}}\right ) \, dx,x,\cos ^{-1}(a x)\right )}{5 a^3}+\frac {16 \int \frac {x}{\sqrt {1-a^2 x^2} \sqrt {\cos ^{-1}(a x)}} \, dx}{15 a}\\ &=\frac {2 x^2 \sqrt {1-a^2 x^2}}{5 a \cos ^{-1}(a x)^{5/2}}-\frac {8 x}{15 a^2 \cos ^{-1}(a x)^{3/2}}+\frac {4 x^3}{5 \cos ^{-1}(a x)^{3/2}}+\frac {16 \sqrt {1-a^2 x^2}}{15 a^3 \sqrt {\cos ^{-1}(a x)}}-\frac {24 x^2 \sqrt {1-a^2 x^2}}{5 a \sqrt {\cos ^{-1}(a x)}}-\frac {16 \text {Subst}\left (\int \frac {\cos (x)}{\sqrt {x}} \, dx,x,\cos ^{-1}(a x)\right )}{15 a^3}+\frac {6 \text {Subst}\left (\int \frac {\cos (x)}{\sqrt {x}} \, dx,x,\cos ^{-1}(a x)\right )}{5 a^3}+\frac {18 \text {Subst}\left (\int \frac {\cos (3 x)}{\sqrt {x}} \, dx,x,\cos ^{-1}(a x)\right )}{5 a^3}\\ &=\frac {2 x^2 \sqrt {1-a^2 x^2}}{5 a \cos ^{-1}(a x)^{5/2}}-\frac {8 x}{15 a^2 \cos ^{-1}(a x)^{3/2}}+\frac {4 x^3}{5 \cos ^{-1}(a x)^{3/2}}+\frac {16 \sqrt {1-a^2 x^2}}{15 a^3 \sqrt {\cos ^{-1}(a x)}}-\frac {24 x^2 \sqrt {1-a^2 x^2}}{5 a \sqrt {\cos ^{-1}(a x)}}-\frac {32 \text {Subst}\left (\int \cos \left (x^2\right ) \, dx,x,\sqrt {\cos ^{-1}(a x)}\right )}{15 a^3}+\frac {12 \text {Subst}\left (\int \cos \left (x^2\right ) \, dx,x,\sqrt {\cos ^{-1}(a x)}\right )}{5 a^3}+\frac {36 \text {Subst}\left (\int \cos \left (3 x^2\right ) \, dx,x,\sqrt {\cos ^{-1}(a x)}\right )}{5 a^3}\\ &=\frac {2 x^2 \sqrt {1-a^2 x^2}}{5 a \cos ^{-1}(a x)^{5/2}}-\frac {8 x}{15 a^2 \cos ^{-1}(a x)^{3/2}}+\frac {4 x^3}{5 \cos ^{-1}(a x)^{3/2}}+\frac {16 \sqrt {1-a^2 x^2}}{15 a^3 \sqrt {\cos ^{-1}(a x)}}-\frac {24 x^2 \sqrt {1-a^2 x^2}}{5 a \sqrt {\cos ^{-1}(a x)}}+\frac {2 \sqrt {2 \pi } C\left (\sqrt {\frac {2}{\pi }} \sqrt {\cos ^{-1}(a x)}\right )}{15 a^3}+\frac {6 \sqrt {6 \pi } C\left (\sqrt {\frac {6}{\pi }} \sqrt {\cos ^{-1}(a x)}\right )}{5 a^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 1.86, size = 281, normalized size = 1.47 \begin {gather*} -\frac {-6 \sqrt {1-a^2 x^2}-2 i e^{i \text {ArcCos}(a x)} \text {ArcCos}(a x) (-i+2 \text {ArcCos}(a x))-4 (-i \text {ArcCos}(a x))^{3/2} \text {ArcCos}(a x) \text {Gamma}\left (\frac {1}{2},-i \text {ArcCos}(a x)\right )+e^{-i \text {ArcCos}(a x)} \text {ArcCos}(a x) \left (-2+4 i \text {ArcCos}(a x)-4 e^{i \text {ArcCos}(a x)} (i \text {ArcCos}(a x))^{3/2} \text {Gamma}\left (\frac {1}{2},i \text {ArcCos}(a x)\right )\right )-6 \text {ArcCos}(a x) \left (e^{3 i \text {ArcCos}(a x)} (1+6 i \text {ArcCos}(a x))+6 \sqrt {3} (-i \text {ArcCos}(a x))^{3/2} \text {Gamma}\left (\frac {1}{2},-3 i \text {ArcCos}(a x)\right )+e^{-3 i \text {ArcCos}(a x)} \left (1-6 i \text {ArcCos}(a x)+6 \sqrt {3} e^{3 i \text {ArcCos}(a x)} (i \text {ArcCos}(a x))^{3/2} \text {Gamma}\left (\frac {1}{2},3 i \text {ArcCos}(a x)\right )\right )\right )-6 \sin (3 \text {ArcCos}(a x))}{60 a^3 \text {ArcCos}(a x)^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.20, size = 154, normalized size = 0.81
method | result | size |
default | \(-\frac {-36 \sqrt {2}\, \sqrt {\pi }\, \sqrt {3}\, \FresnelC \left (\frac {\sqrt {2}\, \sqrt {3}\, \sqrt {\arccos \left (a x \right )}}{\sqrt {\pi }}\right ) \arccos \left (a x \right )^{\frac {5}{2}}-4 \sqrt {2}\, \sqrt {\pi }\, \FresnelC \left (\frac {\sqrt {2}\, \sqrt {\arccos \left (a x \right )}}{\sqrt {\pi }}\right ) \arccos \left (a x \right )^{\frac {5}{2}}+4 \arccos \left (a x \right )^{2} \sqrt {-a^{2} x^{2}+1}+36 \arccos \left (a x \right )^{2} \sin \left (3 \arccos \left (a x \right )\right )-2 a x \arccos \left (a x \right )-6 \arccos \left (a x \right ) \cos \left (3 \arccos \left (a x \right )\right )-3 \sqrt {-a^{2} x^{2}+1}-3 \sin \left (3 \arccos \left (a x \right )\right )}{30 a^{3} \arccos \left (a x \right )^{\frac {5}{2}}}\) | \(154\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\operatorname {acos}^{\frac {7}{2}}{\left (a x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^2}{{\mathrm {acos}\left (a\,x\right )}^{7/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________